package cron;

import modelo.negocio.FactoryManager;
import modelo.negocio.ManagerBolsa;
import modelo.negocio.util.LogginFactory;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;

public class CronBolsa implements Job {

	private static Logger logger = LogginFactory.getLogger(CronBolsa.class);
	
	public void execute(JobExecutionContext cntxt) {
		try {
			ManagerBolsa managerBolsa = FactoryManager.getManagerBolsa();
		//	managerBolsa.actualizarSoportes(null);
		//	managerBolsa.actualizarResistencias(null);
			//managerBolsa.actualizarValoresEstrategia(null);
			
		}
		catch (Exception e) {
			e.printStackTrace();
			logger.error(e,e);
		}
	}
}
